package org.zfes.snowier.cloud.zbss.asf.biz.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.asf.biz.dto.UserFaceInfoCreateDto;
import org.zfes.snowier.cloud.zbss.asf.biz.dto.UserFaceInfoUpdateDto;
import org.zfes.snowier.cloud.zbss.asf.biz.model.UserFaceInfo;
public interface IUserFaceInfoService{

	 Optional<UserFaceInfo> loadUserFaceInfoById(Long id);
	
	 UserFaceInfo createUserFaceInfo(UserFaceInfoCreateDto userFaceInfo);
	
	 void updateUserFaceInfo(UserFaceInfoUpdateDto userFaceInfo);

	 void deleteUserFaceInfo(Long id);
	
	 DataSet loadUserFaceInfoDataSet(Map<String, Object> params);
	 
	Optional<UserFaceInfo> loadByPhone(java.lang.String phone);
	
	Optional<UserFaceInfo> loadByEmail(java.lang.String email);
	

 	void setUserFaceInfoStatus(Long id, Byte status);

	void updateUserFeaturePic(Long id, String facePic);
	
	
	Long initUserdataSet();
}